package com.ruoyi.app.controller;

import com.ruoyi.app.domain.OperEquip;
import com.ruoyi.app.domain.Operticket;
import com.ruoyi.app.domain.OperticketStep;
import com.ruoyi.app.service.IOperticketService;
import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@RestController
@RequestMapping("/app/equip/")
public class ApiOperEquipController extends BaseController {

    @Autowired
    private IOperticketService iOperticketService;
    @Anonymous
    @GetMapping("/getOperequip")
    @ResponseBody
    public AjaxResult getOperEquip(HttpServletRequest request) {


        OperEquip tempOperEquip = new OperEquip();
        //tempMemberWallet.setMemberId(id);
        List<OperEquip> memberWalletList = iOperticketService.selectOperEquipList(tempOperEquip);

        return AjaxResult.success("成功",memberWalletList);
    }

}
